package n;

public class 接口多继承 {

}

interface D{void test1();}
interface E{void test2();}
interface F{}
//接口和类一样，能被多继承且所有特性将会在父接口中实现
interface G extends D,E,F{}

class H implements G{

    @Override
    public void test1() {

    }

    @Override
    public void test2() {

    }
}


